package com.bt.springboot.common.util;

import java.io.BufferedWriter;
import java.io.FileWriter;
import java.io.IOException;

/**
 * @author zkx
 * @Date 2024/3/18 13:30
 */
public class FileUtil {

	public static void writeFile(String filePath, String content) throws IOException{
		try (BufferedWriter writer = new BufferedWriter(new FileWriter(filePath))) {
			writer.write(content);
		}
	}

}
